package org.dromara.nursing.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 费用记录对象 ms_fee_record
 *
 * @author Xue
 * @date 2025-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ms_fee_record")
public class FeeRecord extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(value = "record_id")
    private Long recordId;

    /**
     * 老人ID
     */
    private Long elderId;

    /**
     * 老人姓名
     */
    private String elderName;

    /**
     * 费用类型
     */
    private String feeType;

    /**
     * 金额
     */
    private Long amount;

    /**
     * 费用日期
     */
    private Date feeDate;

    /**
     * 支付状态
     */
    private String paymentStatus;

    /**
     * 支付方式
     */
    private String paymentMethod;

    /**
     * 支付时间
     */
    private Date paymentTime;

    /**
     * 发票号
     */
    private String invoiceNo;

    /**
     * 备注
     */
    private String remarks;

}
